package lib.bone.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("角色新增菜单权限数据传输对象")
public class RoleMenuAddDTO {
    @NotEmpty(message = "角色ID不可为空")
    @ApiModelProperty("角色ID")
    Long roleId;
    @NotEmpty(message = "菜单ID不可为空")
    @ApiModelProperty("菜单ID")
    Long menuId;
}
